package com.wisdomparking.dao.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.wisdomparking.bean.User;

@Mapper
public interface UserMapper {
	
	int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);
    
    User selectByMobileNumber(String mobileNumber);
    
    User selectByTempMobile(String tempMobile);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    List<User> getUserList(Map<String, Object> map);
    
    long getCountByUser(Map<String, Object> map);
}